﻿package com.sz.message.dao;

import java.util.List;
import java.util.Map;

public interface IMessageDAO {
	
	@SuppressWarnings("unchecked")
	public long addMessage(Map map) throws Exception;
	
	@SuppressWarnings("unchecked")
	public long sendMessage(String phoneNum, String msg) throws Exception;
	
	/**
	 * 和订单有关的短信
	 */	
	public String getSMS_Ticket(String ticket_id, String type) throws Exception;
	
	/**
	 * 商家短信（如商家优惠）
	 * @param business_id
	 * @return
	 * @throws Exception
	 */
	public String getSMS_Business(String business_id, String type) throws Exception;

}
